@import '../../config/base.scss';

.will-like{
    margin: 0 $gap;
    margin-top: 0.1rem;
    margin-bottom: 0.1rem;
    overflow: hidden;
    .like-box{
        width: 33%;
        float: left;
        margin-bottom: 0.1rem;
        color:$base-dark;
        >a{
            div{
                background: url('../images/goods_default.png') no-repeat;
                background-size: 100%;
                width:80%;
                margin:0 auto;
            }
        }
        img{
            width: 100%;
            //margin: 0 10%;
        }
        .goodsname{
            @extend %ellipsis;
            font-size: $fs-base;
            text-align: center;
            line-height: 20px;
            margin-bottom: 0;
            padding: 0 10px;
            color:#000;
        }
        .goodsprice{
            @extend %ellipsis;
            font-size: $fs-base;
            line-height: 20px;
            height:20px;
            color: #ff601a;
            margin-bottom: 0;
            padding-left:14px;
            padding-right: 20px;
            position: relative;

            .iconfont{
                position: absolute;
                top:0;
                right: 4px;
                float: right;
                color: $base-green;
            }
        }
    }
}
